/* Material Design 特定样式 */
.material-card {
    transition: all 0.3s var(--ion-transition);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.material-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 按钮 Material Design 样式 */
ion-button {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 列表项 Material Design 样式 */
ion-item {
    --min-height: 56px;
    --padding-start: 16px;
    --padding-end: 16px;
}

ion-item::part(native) {
    border-radius: 0;
}

/* 卡片标题样式 */
ion-card-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Material Design 阴影系统 */
.elevation-1 {
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2),
        0 1px 1px 0 rgba(0, 0, 0, 0.14),
        0 1px 3px 0 rgba(0, 0, 0, 0.12);
}

.elevation-2 {
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
        0 2px 2px 0 rgba(0, 0, 0, 0.14),
        0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.elevation-4 {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2),
        0 4px 5px 0 rgba(0, 0, 0, 0.14),
        0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

/* Material Design 动画 */
@keyframes material-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.material-fade-in {
    animation: material-fade-in 0.3s var(--ion-transition);
}

/* 波纹效果容器 */
.ripple-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

/* 响应式 Material Design 调整 */
@media (max-width: 768px) {
    .material-card {
        margin: 8px;
        border-radius: 8px;
    }

    ion-toolbar {
        --min-height: 56px;
    }
}